<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page isELIgnored="false" %>
<%
    String path = request.getContextPath();
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="pragma" content="no-cache"/>
    <meta http-equiv="cache-control" content="no-cache"/>
    <meta http-equiv="expires" content="0"/>
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
    <meta http-equiv="description" content="This is my page"/>

    <link href="${pageContext.request.contextPath}/static/css/front.css" rel="stylesheet" type="text/css"
          media="screen"/>
    <link href="${pageContext.request.contextPath}/static/css/daoke.css" rel="stylesheet" type="text/css"
          media="screen"/>
    <script language="JavaScript" type="text/javascript">
        function check2() {
            if (document.form1.userName.value == "") {
                alert("请输入账号");
                return false;
            }
            if (document.form1.password.value == "") {
                alert("请输入密码");
                return false;
            }
            document.form1.submit();
        }
    </script>

</head>

<body style="background: -webkit-linear-gradient(#A5DBFE,#FFFFFF)">
<jsp:include flush="true" page="/front/inc/top.jsp"></jsp:include>

<div class="w1440 bg-f" style="margin: 0 auto;min-height: 700px;">
    <div id="page-bgtop">
        <div id="page-bgbtm">
            <div id="content">
                <div class="post">
                    <h1 class="title"><a href="#"><i class="iconfont icon-yonghuming vertical-a-t font18"></i>用户注册</a></h1>
                    <div class=" font14 color-9 b-box" style="margin: 0 auto;padding: 30px;width: 1060px;">
                        <div class="ht40 l-ht40 font14 color-3">
                            <div style="border-left: 3px solid #fa594e;padding-left: 10px;" class="ht30 l-ht30">基本信息</div>
                        </div>
                        <form action="${pageContext.request.contextPath}/user/addUser.html" name="form1"
                              method="post">
                            <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1"
                                   bgcolor="" style="min-height: 500px;">
                                <tr>
                                    <td width="14%" height="30" align="center" bgcolor="#F9F9F9"
                                        style="font-size: 16px;">
                                        账号：
                                    </td>
                                    <td width="86%" bgcolor="#FFFFFF">
                                        &nbsp;
                                        <input type="text" name="userName" style="width: 250px;"/>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="30" align="center" bgcolor="#F9F9F9" style="font-size: 16px;">
                                        密码：
                                    </td>
                                    <td bgcolor="#FFFFFF">
                                        &nbsp;
                                        <input type="password" name="password" style="width: 250px;height: 30px;" value="000000"/>(默认：000000)
                                    </td>
                                </tr>
                                <tr>
                                    <td height="30" align="center" bgcolor="#F9F9F9" style="font-size: 16px;">
                                        姓名：
                                    </td>
                                    <td bgcolor="#FFFFFF">
                                        &nbsp;
                                        <input type="text" name="realName" style="width: 250px;"/>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="30" align="center" bgcolor="#F9F9F9" style="font-size: 16px;">
                                        住址：
                                    </td>
                                    <td bgcolor="#FFFFFF">
                                        &nbsp;
                                        <input type="text" name="address" size="50" style="width: 250px;"/>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="30" align="center" bgcolor="#F9F9F9" style="font-size: 16px;">
                                        电话：
                                    </td>
                                    <td bgcolor="#FFFFFF">
                                        &nbsp;
                                        <input type="text" name="tel" style="width: 250px;"/>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="30" align="center" bgcolor="#F9F9F9" style="font-size: 16px;">
                                        邮箱：
                                    </td>
                                    <td bgcolor="#FFFFFF">
                                        &nbsp;
                                        <input type="text" name="email" style="width: 250px;"/>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="30" align="center" bgcolor="#F9F9F9">
                                        &nbsp;
                                    </td>
                                    <td bgcolor="#FFFFFF">
                                        &nbsp;
                                        <input type="button" value="确定" onclick="check2();" style="border:#ccc 1px solid; background-color:#6699cc; font-size:12px; padding-top:3px;width: 90px;" class="btn"/>
                                        <input type="reset" value="重置" style="border:#ccc 1px solid; background-color:#6699cc; font-size:12px; padding-top:3px;width: 90px;" class="btn"/>
                                    </td>
                                </tr>
                            </table>
                        </form>
                    </div>
                </div>
                <div style="clear: both;">&nbsp;</div>
            </div>
            <jsp:include flush="true" page="/front/inc/right.jsp"></jsp:include>
            <div style="clear: both;">&nbsp;</div>
        </div>
    </div>
</div>


<div style="margin: 0 auto;height: 140px;background: #545454;color:#bbbbbb;margin-top: 20px;text-align: center;" class="w1440 font14 text-c">
    <div class="ht30 l-ht30" style="font-size: 18px;line-height: 80px;">Copyright (c) 2019 Sitename.com. All rights reserved.</div>
    <div class="ht30 l-ht30" style="font-size: 18px;line-height: 80px;"><a
            href="${pageContext.request.contextPath}/login.jsp" style="color: #ffffff">管理员或医生登陆</a></div>

</div>
</body>
</html>
